home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1701 < prev    next >
Encoding:
Text File  |  1996-08-06  |  635 b   |  31 lines

  1. Newsgroups: comp.lang.c++
  2. Path: blackbush.xlink.net!sapwdf!news
  3. From: Gilles Berthelot <gilles.berthelot@sap-ag.de>
  4. Subject: Re: Dumb Question? about ptr
  5. Content-Type: text/plain; charset=us-ascii
  6. Message-ID: <DL2G59.87o@sap-ag.de>
  7. Sender: news@sap-ag.de (USENET News System)
  8. Content-Transfer-Encoding: 7bit
  9. Organization: SAP-AG Walldorf
  10. References: <00001a81+00008b8f@msn.com>
  11. Mime-Version: 1.0
  12. Date: Fri, 12 Jan 1996 11:34:20 GMT
  13. X-Mailer: Mozilla 1.2N (Windows; I; 32bit)
  14.  
  15. I guess it is a tipo,
  16. replace
  17.  
  18. //MyStruct* foo;
  19. //MyStruct Record1;
  20. //foo = &MyStruct;
  21.  
  22. with
  23.  
  24. MyStruct Record1;
  25. MyStruct* foo = &Record1;
  26.  
  27. Good luck.
  28. Gilles
  29.  
  30.  
  31.